package com.example.elderlycare.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.elderlycare.dao.entity.Roster;
import com.example.elderlycare.dao.entity.RosterCount;
import com.example.elderlycare.service.entity.RosterStatisticsResponseBody;

import java.util.List;
import java.util.Map;

public interface RosterMapper extends BaseMapper<Roster> {
    List<Roster> queryByParams(Map<String, Object> params);

    Integer queryRosterCount(Map<String, Object> params);

    List<RosterCount> queryAll(Map<String, Object> params);

    List<RosterCount> queryAbsent(Map<String, Object> params);

    List<RosterCount> queryLeave(Map<String, Object> params);
}
